package com.itheima.day20.demo06;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.nio.ByteBuffer;

public class demo12 {
    public static final String SRC = "./homework/src/com/itheima/day20/demo06/stu.txt";
    public static final String DEST = "./homework/src/com/itheima/day20/demo06/student.txt";

    public static void main(String[] args) throws Exception {
        FileInputStream fis = new FileInputStream(new File(SRC));
        FileOutputStream fos = new FileOutputStream(new File(DEST));
        ByteBuffer bytes = ByteBuffer.allocate(1024);
        int len = 0;
/*        while ((len=fis.read(bytes))!=-1){

        }*/

    }
}
